'''
Created on Apr 24, 2011

@author:Cuong Nguyen Huy Pham
'''
import wx

class SimpleMenu(wx.Frame):
    def __init__(self,parent,id,title):
        wx.Frame.__init__(self,parent,id,title,size=(250,150))
        menuBar=wx.MenuBar()
        file=wx.Menu()
        file.Append(-1,'Quit','Quit application')
        menuBar.Append(file,'&File')
        self.SetMenuBar(menuBar)
        self.Centre()
        self.Show(True)

app=wx.App()
SimpleMenu(None,-1,'Simple Menu Example')
app.MainLoop()




